package com.link.base.base.staticvalue.dao.mybatis.mapper;

import com.link.base.base.staticvalue.model.Staticvalue;
import com.link.core.basic.model.BasicModel;

import java.util.List;

/**
 * @author unknown
 * @date unknown
 */
public interface StaticvalueMapper {


    /**
     * 获取用户信息列表
     *
     * @param b
     * @return 用户信息
     */
    public List<Staticvalue> queryStaticvalue(BasicModel b);

    /**
     * 根据类型和独立源代码
     *
     * @param record
     * @return 用户信息
     * @throws Exception
     */
    public Staticvalue queryLovByValAndType(Staticvalue record) throws Exception;

    /**
     * 根据类型和显示值查询
     *
     * @param record
     * @return Staticvalue
     * @throws Exception
     */
    public Staticvalue queryLovByNameAndType(Staticvalue record) throws Exception;

    /**
     * 根据类型查询
     *
     * @param record
     * @return List Staticvalue
     * @throws Exception
     */
    public List<Staticvalue> queryByLovType(Staticvalue record) throws Exception;

    /**
     * 根据类型查询
     *
     * @param types
     * @return List Staticvalue
     * @throws Exception
     */
    public List<Staticvalue> queryByLovTypes(Staticvalue types) throws Exception;

    /**
     * 类型查询
     * @param staticvalue
     * @return List Staticvalue
     * @throws Exception
     */
    public List<Staticvalue> queryTypes(Staticvalue staticvalue) throws Exception;


}
